package com.itheima.thread2;

public class ThreadDemo {
    public static void main(String[] args) {
        Cook c = new Cook();
        Foodie f = new Foodie();
        f.setName("zsda");
        c.start();
        f.start();
    }

}
